package com.kimehwa.studyboot.dao;

import com.kimehwa.studyboot.bean.mongobean.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author xiaodongguan
 * @description
 * @since 2021-07-22 21:52
 */
public interface UserRepository extends MongoRepository<User,Long> {
    List<User> findByUserNameLike(String userName);
}
